package com.ruoyi.course.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的选课对象 select_course
 *
 * @author Weiney
 * @date 2025-02-24
 */
public class SelectCourse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long courseId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String courseName;

    /** 课程描述 */
    @Excel(name = "课程描述")
    private String courseDescription;

    /** 课程星期 */
    @Excel(name = "课程星期")
    private Long courseWeek;

    /** 课程节数 */
    @Excel(name = "课程节数")
    private Long courseSequence;

    /** 课程学分 */
    @Excel(name = "课程学分")
    private Long courseCredit;

    /** 课程学时 */
    @Excel(name = "课程学时")
    private Long courseHours;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private Long courseType;

    /** 课程教室 */
    @Excel(name = "课程教室")
    private String classroom;

    /** 课程开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "课程开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 课程结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "课程结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 教师ID */
    private Long userId;

    /** 部门ID */
    private Long deptId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public void setCourseId(Long courseId)
    {
        this.courseId = courseId;
    }

    public Long getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setCourseDescription(String courseDescription)
    {
        this.courseDescription = courseDescription;
    }

    public String getCourseDescription()
    {
        return courseDescription;
    }
    public void setCourseWeek(Long courseWeek)
    {
        this.courseWeek = courseWeek;
    }

    public Long getCourseWeek()
    {
        return courseWeek;
    }
    public void setCourseSequence(Long courseSequence)
    {
        this.courseSequence = courseSequence;
    }

    public Long getCourseSequence()
    {
        return courseSequence;
    }
    public void setCourseCredit(Long courseCredit)
    {
        this.courseCredit = courseCredit;
    }

    public Long getCourseCredit()
    {
        return courseCredit;
    }
    public void setCourseHours(Long courseHours)
    {
        this.courseHours = courseHours;
    }

    public Long getCourseHours()
    {
        return courseHours;
    }
    public void setCourseType(Long courseType)
    {
        this.courseType = courseType;
    }

    public Long getCourseType()
    {
        return courseType;
    }
    public void setClassroom(String classroom)
    {
        this.classroom = classroom;
    }

    public String getClassroom()
    {
        return classroom;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }

    @Override
    public String toString() {
        return "SelectCourse{" +
                "courseId=" + courseId +
                ", courseName='" + courseName + '\'' +
                ", courseDescription='" + courseDescription + '\'' +
                ", courseWeek=" + courseWeek +
                ", courseSequence=" + courseSequence +
                ", courseCredit=" + courseCredit +
                ", courseHours=" + courseHours +
                ", courseType=" + courseType +
                ", classroom='" + classroom + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", nickName='" + nickName + '\'' +
                ", deptName='" + deptName + '\'' +
                ", userId=" + userId +
                ", deptId=" + deptId +
                '}';
    }
}
